<?php

/**
 * Description of db_ticketsysteem
 * 
 *
 * @author Tim van den Elsen
 * @version 0.1
 *
 */

include_once FILE_DATABASE;
include_once DIR_DEFINES.'db_constants.php';

class DbAfdeling extends Database {
    
      private $afdeling_id;
      private $afdeling_naam;
    
    public function getAfdeling_id() {
        return $this->afdeling_id;
    }
    
    public function getAfdeling_naam() {
        return $this->afdeling_naam;
    }
    
  
    public function select_afdeling_lijst(){
     

        $query = "SELECT * FROM afdeling ORDER BY afdeling_naam ASC";
        $this->dbquery($query);
       if ( $this->checkDbErrors($query) ){
            return FALSE;
       }
       $status_array = $this->dbFetchAll();

       return $status_array;
    }
        
    
                         
 
}


?>